package com.qymerge.manage.base.dao;

import com.qymerge.manage.base.ro.MetaProfitReportItemRO;
import com.qymerge.manage.core.bean.PageRequest;

import java.util.List;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 *
 * @author Xiao
 * @date 2025/4/29 16:53
 * @version 1.0.0
 */
public interface IMetaProfitReportItemDao {

    List list(MetaProfitReportItemRO ro, PageRequest pageRequest);

    int total(MetaProfitReportItemRO ro);

    List<MetaProfitReportItemRO> findAll(MetaProfitReportItemRO roSearch);

    MetaProfitReportItemRO findOne(Long id);

    List<MetaProfitReportItemRO> findAllByParentId(Long id);

    int insert(MetaProfitReportItemRO ro);

    int update(MetaProfitReportItemRO ro);

    int remove(List<Long> ids);
    int remove(Long id);
}
